package com.starmark.gateway.project.provider.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.starmark.auth.common.dto.SecurityUser;
import com.starmark.core.framework.base.SuperMapper;
import com.starmark.gateway.project.provider.entity.GatewayProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 网关工程Mapper 接口
 * </p>
 *
 * @author starmark
 * @since 2020-0５-24
 */
@Mapper
public interface GatewayProjectMapper extends SuperMapper<GatewayProject> {


    /**
     * 查找有权限的工程分页
     * @param page 分页记录
     * @param securityUser 当前登陆用户
     * @return  有权限的工程分页
     */
    IPage<GatewayProject> selectProjectPage(IPage<GatewayProject> page, @Param("securityUser") SecurityUser securityUser);

}